package com.bdqn.biz;

import com.bdqn.dao.UserDao;
import com.bdqn.pojo.UserPojo;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.*;
import java.io.IOException;
import java.io.PrintWriter;

@WebServlet(name = "ajax", value = "/ajax")
public class ajax extends HttpServlet{
        @Override
        protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
           String name=request.getParameter("name");
            System.out.println("前台相应值"+name);
            PrintWriter writer=response.getWriter();
            writer.write("bbbbbb");
        }
}
